package com.pipayshop.mapper;

import com.pipayshop.domain.StoreCommodityEvaluate;
import com.pipayshop.domain.vo.EvaluateVO;
import com.pipayshop.domain.vo.StoreCommodityEvaluateVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;


/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author zxb
 * @since 2023-07-27
 */
@Mapper

public interface PhysicalStoreCommodityEvaluateMapper extends BaseMapper<StoreCommodityEvaluate> {
    List<StoreCommodityEvaluateVO> commodityEvaluateList(@Param("commodityId") String commodityId,
                                                         @Param("pageNum") Integer pageNum,
                                                         @Param("pageSize") Integer pageSize);

    List<EvaluateVO> getEvaluateList(@Param("commodityId") String commodityId);
}
